# -*- coding: utf-8 -*-
from PySide6.QtWidgets import QFileDialog, QTextBrowser, QLineEdit, QCheckBox
################################################################################
## Form generated from reading UI file 'mainwindow.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)

from PySide6.QtWidgets import (QApplication, QFrame, QGridLayout, QHBoxLayout,
    QLabel, QLineEdit, QPushButton, QSizePolicy,
    QSplitter, QTabWidget, QTextBrowser, QVBoxLayout,
    QWidget)

# class Ui_Form(object):
#     def setupUi(self, Form):
#         if not Form.objectName():
#             Form.setObjectName(u"Form")
#         Form.resize(598, 514)
#         self.gridLayout = QGridLayout(Form)
#         self.gridLayout.setSpacing(0)
#         self.gridLayout.setObjectName(u"gridLayout")
#         self.gridLayout.setContentsMargins(0, 0, 0, 0)
#         self.frame = QFrame(Form)
#         self.frame.setObjectName(u"frame")
#         self.frame.setFrameShape(QFrame.Shape.StyledPanel)
#         self.frame.setFrameShadow(QFrame.Shadow.Raised)
#         self.verticalLayout = QVBoxLayout(self.frame)
#         self.verticalLayout.setObjectName(u"verticalLayout")
#
#
#
#
#         self.horizontalLayout = QHBoxLayout()
#         self.horizontalLayout.setObjectName(u"horizontalLayout")
#         self.label = QLabel(self.frame)
#         self.label.setObjectName(u"label")
#
#         self.horizontalLayout.addWidget(self.label)
#
#         self.lineEdit = QLineEdit(self.frame)
#         self.lineEdit.setObjectName(u"lineEdit")
#
#         self.horizontalLayout.addWidget(self.lineEdit)
#
#         self.pushButton = QPushButton(self.frame)
#         self.pushButton.setObjectName(u"pushButton")
#         sizePolicy = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
#         sizePolicy.setHorizontalStretch(0)
#         sizePolicy.setVerticalStretch(0)
#         sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
#         self.pushButton.setSizePolicy(sizePolicy)
#         self.pushButton.setMaximumSize(QSize(20, 16777215))
#
#         self.horizontalLayout.addWidget(self.pushButton)
#
#
#         self.verticalLayout.addLayout(self.horizontalLayout)
#
#         self.horizontalLayout_2 = QHBoxLayout()
#         self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
#         self.label_2 = QLabel(self.frame)
#         self.label_2.setObjectName(u"label_2")
#
#         self.horizontalLayout_2.addWidget(self.label_2)
#
#         self.lineEdit_2 = QLineEdit(self.frame)
#         self.lineEdit_2.setObjectName(u"lineEdit_2")
#
#         self.horizontalLayout_2.addWidget(self.lineEdit_2)
#
#         self.pushButton_2 = QPushButton(self.frame)
#         self.pushButton_2.setObjectName(u"pushButton_2")
#         sizePolicy.setHeightForWidth(self.pushButton_2.sizePolicy().hasHeightForWidth())
#         self.pushButton_2.setSizePolicy(sizePolicy)
#         self.pushButton_2.setMaximumSize(QSize(20, 16777215))
#
#         self.horizontalLayout_2.addWidget(self.pushButton_2)
#
#
#         self.verticalLayout.addLayout(self.horizontalLayout_2)
#
#         self.run_btn = QPushButton(self.frame)
#         self.run_btn.setObjectName(u"run_btn")
#
#         self.verticalLayout.addWidget(self.run_btn)
#
#         self.splitter = QSplitter(self.frame)
#         self.splitter.setObjectName(u"splitter")
#         sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Maximum)
#         sizePolicy1.setHorizontalStretch(0)
#         sizePolicy1.setVerticalStretch(0)
#         sizePolicy1.setHeightForWidth(self.splitter.sizePolicy().hasHeightForWidth())
#         self.splitter.setSizePolicy(sizePolicy1)
#         self.splitter.setMinimumSize(QSize(0, 400))
#         self.splitter.setMaximumSize(QSize(16777215, 16777215))
#         self.splitter.setOrientation(Qt.Orientation.Vertical)
#         self.tabWidget = QTabWidget(self.splitter)
#         self.tabWidget.setObjectName(u"tabWidget")
#         sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
#         sizePolicy2.setHorizontalStretch(0)
#         sizePolicy2.setVerticalStretch(60)
#         sizePolicy2.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
#         self.tabWidget.setSizePolicy(sizePolicy2)
#         self.tab = QWidget()
#         self.tab.setObjectName(u"tab")
#         self.tab_verticalLayout_1 = QVBoxLayout(self.tab)
#         self.tab_verticalLayout_1.setObjectName(u"tab_verticalLayout_1")
#         self.tabWidget.addTab(self.tab, "")
#         self.tab_2 = QWidget()
#         self.tab_2.setObjectName(u"tab_2")
#         self.tab_verticalLayout_2 = QVBoxLayout(self.tab_2)
#         self.tab_verticalLayout_2.setObjectName(u"tab_verticalLayout_2")
#         self.tabWidget.addTab(self.tab_2, "")
#         self.tab_3 = QWidget()
#         self.tab_3.setObjectName(u"tab_3")
#         sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
#         sizePolicy3.setHorizontalStretch(0)
#         sizePolicy3.setVerticalStretch(0)
#         sizePolicy3.setHeightForWidth(self.tab_3.sizePolicy().hasHeightForWidth())
#         self.tab_3.setSizePolicy(sizePolicy3)
#         self.tab_verticalLayout_3 = QVBoxLayout(self.tab_3)
#         self.tab_verticalLayout_3.setObjectName(u"tab_verticalLayout_3")
#         self.tabWidget.addTab(self.tab_3, "")
#         self.splitter.addWidget(self.tabWidget)
#         self.textBrowser = QTextBrowser(self.splitter)
#         self.textBrowser.setObjectName(u"textBrowser")
#         self.splitter.addWidget(self.textBrowser)
#
#         self.verticalLayout.addWidget(self.splitter)
#
#
#         self.gridLayout.addWidget(self.frame, 0, 0, 1, 1)
#
#
#         self.retranslateUi(Form)
#
#         self.tabWidget.setCurrentIndex(2)
#
#
#         QMetaObject.connectSlotsByName(Form)
#     # setupUi
#
#     def retranslateUi(self, Form):
#         Form.setWindowTitle(QCoreApplication.translate("Form", u"check", None))
#         self.label.setText(QCoreApplication.translate("Form", u"\u68c0\u7d22\u8def\u5f84:", None))
#         self.pushButton.setText(QCoreApplication.translate("Form", u"...", None))
#         self.label_2.setText(QCoreApplication.translate("Form", u"\u4fdd\u5b58\u8def\u5f84:", None))
#         self.pushButton_2.setText(QCoreApplication.translate("Form", u"...", None))
#         self.run_btn.setText(QCoreApplication.translate("Form", u"\u8fd0\u884c", None))
#         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("Form", u"AE", None))
#         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("Form", u"AWB", None))
#         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QCoreApplication.translate("Form", u"COLOR", None))
#     # retranslateUi
class Ui_Form(object):
    def setupUi(self, Form):
        if not Form.objectName():
            Form.setObjectName(u"Form")
        Form.resize(598, 514)
        self.gridLayout = QGridLayout(Form)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(u"gridLayout")
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.frame = QFrame(Form)
        self.frame.setObjectName(u"frame")
        self.frame.setFrameShape(QFrame.Shape.StyledPanel)
        self.frame.setFrameShadow(QFrame.Shadow.Raised)
        self.verticalLayout = QVBoxLayout(self.frame)
        self.verticalLayout.setObjectName(u"verticalLayout")

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.label = QLabel(self.frame)
        self.label.setObjectName(u"label")

        self.horizontalLayout.addWidget(self.label)

        self.lineEdit = QLineEdit(self.frame)
        self.lineEdit.setObjectName(u"lineEdit")

        self.horizontalLayout.addWidget(self.lineEdit)

        self.pushButton = QPushButton(self.frame)
        self.pushButton.setObjectName(u"pushButton")
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
        self.pushButton.setSizePolicy(sizePolicy)
        self.pushButton.setMaximumSize(QSize(20, 16777215))

        self.horizontalLayout.addWidget(self.pushButton)

        self.verticalLayout.addLayout(self.horizontalLayout)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.label_2 = QLabel(self.frame)
        self.label_2.setObjectName(u"label_2")

        self.horizontalLayout_2.addWidget(self.label_2)

        self.lineEdit_2 = QLineEdit(self.frame)
        self.lineEdit_2.setObjectName(u"lineEdit_2")

        self.horizontalLayout_2.addWidget(self.lineEdit_2)

        self.pushButton_2 = QPushButton(self.frame)
        self.pushButton_2.setObjectName(u"pushButton_2")
        sizePolicy.setHeightForWidth(self.pushButton_2.sizePolicy().hasHeightForWidth())
        self.pushButton_2.setSizePolicy(sizePolicy)
        self.pushButton_2.setMaximumSize(QSize(20, 16777215))

        self.horizontalLayout_2.addWidget(self.pushButton_2)

        self.verticalLayout.addLayout(self.horizontalLayout_2)

        self.run_btn = QPushButton(self.frame)
        self.run_btn.setObjectName(u"run_btn")

        self.verticalLayout.addWidget(self.run_btn)

        self.splitter = QSplitter(self.frame)
        self.splitter.setObjectName(u"splitter")
        sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Maximum)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.splitter.sizePolicy().hasHeightForWidth())
        self.splitter.setSizePolicy(sizePolicy1)
        self.splitter.setMinimumSize(QSize(0, 400))
        self.splitter.setMaximumSize(QSize(16777215, 16777215))
        self.splitter.setOrientation(Qt.Orientation.Vertical)
        self.tabWidget = QTabWidget(self.splitter)
        self.tabWidget.setObjectName(u"tabWidget")
        sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(60)
        sizePolicy2.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy2)

        # 初始化 AE 子窗口
        self.tab = QWidget()
        self.tab.setObjectName(u"tab")
        self.tab_verticalLayout_1 = QVBoxLayout(self.tab)
        self.tab_verticalLayout_1.setObjectName(u"tab_verticalLayout_1")
        self.tabWidget.addTab(self.tab, "")

        # 初始化 AWB 子窗口
        self.tab_2 = QWidget()
        self.tab_2.setObjectName(u"tab_2")
        self.tab_verticalLayout_2 = QVBoxLayout(self.tab_2)
        self.tab_verticalLayout_2.setObjectName(u"tab_verticalLayout_2")
        self.tabWidget.addTab(self.tab_2, "")

        # 初始化 COLOR 子窗口
        self.tab_3 = QWidget()
        self.tab_3.setObjectName(u"tab_3")
        sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.tab_3.sizePolicy().hasHeightForWidth())
        self.tab_3.setSizePolicy(sizePolicy3)
        self.tab_verticalLayout_3 = QVBoxLayout(self.tab_3)
        self.tab_verticalLayout_3.setObjectName(u"tab_verticalLayout_3")
        self.tabWidget.addTab(self.tab_3, "")

        self.splitter.addWidget(self.tabWidget)
        self.textBrowser = QTextBrowser(self.splitter)
        self.textBrowser.setObjectName(u"textBrowser")
        self.splitter.addWidget(self.textBrowser)

        self.verticalLayout.addWidget(self.splitter)

        self.gridLayout.addWidget(self.frame, 0, 0, 1, 1)

        self.retranslateUi(Form)

        self.tabWidget.setCurrentIndex(2)

        QMetaObject.connectSlotsByName(Form)

    # setupUi

    def retranslateUi(self, Form):
        Form.setWindowTitle(QCoreApplication.translate("Form", u"check", None))
        self.label.setText(QCoreApplication.translate("Form", u"\u68c0\u7d22\u8def\u5f84:", None))
        self.pushButton.setText(QCoreApplication.translate("Form", u"...", None))
        self.label_2.setText(QCoreApplication.translate("Form", u"\u4fdd\u5b58\u8def\u5f84:", None))
        self.pushButton_2.setText(QCoreApplication.translate("Form", u"...", None))
        self.run_btn.setText(QCoreApplication.translate("Form", u"\u8fd0\u884c", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("Form", u"AE", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("Form", u"AWB", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3),
                                  QCoreApplication.translate("Form", u"COLOR", None))
    # retranslateUi

